package com.zzl.study.auth.security.authentication.context;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.Instant;
import java.util.List;

/**
 * @author: zhangzl
 * @date: 2024/6/6 14:38
 * @version: 1.0
 * @description: 附加信息
 */
@Data
public class Claims {

    private String sub;

    private List<String> aud;

    private String azp;

    @JsonProperty("auth_time")
    private Instant authTime;

    private String iss;

    private Instant exp;

    private Instant iat;

    private String nonce;

    private String sid;

}
